/*!
 * Copyright 2025 OPPO.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import './svg.scss';

// @import '~bootswatch/dist/minty/variables';
@import '~bootswatch/dist/darkly/variables';
@import '~bootstrap/scss/bootstrap';
@import '~bootstrap/scss/bootstrap-grid';
@import '~bootstrap/scss/bootstrap-reboot';
@import '~bootswatch/dist/darkly/bootswatch';


// Global dark theme variables
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --card-bg: #2a2a2a;
    --border-color: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent-blue: #00d4ff;
    --accent-green: #00ff88;
    --accent-purple: #8b5cf6;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);
}

#app {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--primary-bg);
    color: var(--text-primary);
    min-height: 100vh;
}

$web-font-path: ''; // override default font download path
$font-family-sans-serif: 'Inter', 'Segoe UI', sans-serif !default;
$font-family-serif: 'Source Serif Pro', serif !default;
$font-family-monospace: 'JetBrains Mono', 'Fira Code', monospace !default;
$font-family-base: $font-family-sans-serif !default;

// Global styles for tech theme
body {
    background: var(--primary-bg);
    color: var(--text-primary);
}

// Card components with tech styling
.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), var(--shadow-glow);
    transition: all 0.3s ease;
    
    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    }
}

// Tech-style tables
.table {
    background: var(--secondary-bg);
    color: var(--text-primary);
    border-radius: 8px;
    overflow: hidden;
    
    th {
        background: var(--card-bg);
        color: var(--accent-blue);
        border: none;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
    
    td {
        border-color: var(--border-color);
        vertical-align: middle;
    }
    
    tbody tr:hover {
        background: rgba(0, 212, 255, 0.1);
    }
}

// Progress bars with glow effect
.progress {
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    
    .progress-bar {
        background: var(--gradient-primary);
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
        transition: all 0.3s ease;
    }
}

// Buttons with tech styling
.btn {
    border-radius: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    
    &.btn-primary {
        background: var(--gradient-primary);
        border: none;
        box-shadow: var(--shadow-glow);
        
        &:hover {
            transform: translateY(-1px);
            box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
        }
    }
}

// Form controls
.form-control {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    
    &:focus {
        background: var(--secondary-bg);
        border-color: var(--accent-blue);
        box-shadow: 0 0 0 0.2rem rgba(0, 212, 255, 0.25);
        color: var(--text-primary);
    }
}

.App .header-wrapper {
    position: fixed;
    z-index: 1000;
    width: 100%;
}

.App .footer-wrapper {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}